package com.lujieni.springbootlearn.service.impl;

import lujieni.starter.bean.SimpleBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AnotherService {

    @Autowired
    private SimpleBean simpleBean;

    public String generateMsg(){
        Integer id = simpleBean.getId();
        String name = simpleBean.getName();
        return "this is AnotherService msg" + id + " " + name;
    }


}
